import request from '@/request/index.js';

export function getDeptList(params) {
	return request.get({
		url: '/app-api/hospital/department/get-dept-list',
		params: params || {},
		custom: {
			title: "科室列表",
			authentication: true
		}
	});
}
export function getHotDeptList() {
	return request.get({
		url: '/app-api/hospital/department/get-hot-dept-list',
		params: {},
		custom: {
			title: "热门科室列表",
			authentication: true
		}
	});
}


export function geDeptContent(params) {
	return request.get({
		url: '/app-api/hospital/department/get-dept-info-and-statistics',
		params: params || {},
		custom: {
			title: "获取医院科室详情及统计",
			authentication: true
		}
	});
}
